* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
}

.container {
    width: 1200px;
    margin: 20px auto;
    display: flex;
    gap: 20px;
}

.product-gallery {
    width: 400px;
    background: white;
    padding: 20px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-info {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 4px;
}

.main-image {
    width: 100%;
    height: 360px;
    object-fit: contain;
}

.product-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.promotion-tag {
    display: inline-block;
    background: #ff0036;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    margin-right: 10px;
}

.price-section {
    background: #fff1f1;
    padding: 20px;
    margin: 20px 0;
}

.price-label {
    color: #666;
    font-size: 14px;
}

.price {
    color: #ff0036;
    font-size: 32px;
    font-weight: bold;
}

.price::before {
    content: '¥';
    font-size: 24px;
}

.service-items {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    color: #666;
    font-size: 14px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.delivery-info {
    margin: 20px 0;
    color: #666;
    font-size: 14px;
}

.action-buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.buy-now, .add-to-cart {
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.buy-now {
    background: #ff0036;
    color: white;
}

.add-to-cart {
    background: #ffeded;
    color: #ff0036;
    border: 1px solid #ff0036;
}

.sales-info {
    color: #999;
    font-size: 14px;
    margin-top: 20px;
}

.product-details {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.detail-item {
    display: flex;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 24px;
    align-items: flex-start;
}

.detail-label {
    width: 100px;
    color: #999;
    flex-shrink: 0;
    padding-top: 2px;
}

.detail-content {
    flex: 1;
    color: #333;
}

.product-description {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.quantity-label {
    color: #999;
    margin-right: 20px;
    font-size: 14px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    display: block;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 16px;
}

.quantity-input {
    width: 50px;
    height: 30px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
}
